﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200071B RID: 1819
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetKilledPunkLordMonsterDataScRsp : IMessage<GetKilledPunkLordMonsterDataScRsp>, IMessage, IEquatable<GetKilledPunkLordMonsterDataScRsp>, IDeepCloneable<GetKilledPunkLordMonsterDataScRsp>, IBufferMessage
	{
		// Token: 0x1700174E RID: 5966
		// (get) Token: 0x060051D7 RID: 20951 RVA: 0x000DE2CB File Offset: 0x000DC4CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetKilledPunkLordMonsterDataScRsp> Parser
		{
			get
			{
				return GetKilledPunkLordMonsterDataScRsp._parser;
			}
		}

		// Token: 0x1700174F RID: 5967
		// (get) Token: 0x060051D8 RID: 20952 RVA: 0x000DE2D2 File Offset: 0x000DC4D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetKilledPunkLordMonsterDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001750 RID: 5968
		// (get) Token: 0x060051D9 RID: 20953 RVA: 0x000DE2E4 File Offset: 0x000DC4E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetKilledPunkLordMonsterDataScRsp.Descriptor;
			}
		}

		// Token: 0x060051DA RID: 20954 RVA: 0x000DE2EB File Offset: 0x000DC4EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetKilledPunkLordMonsterDataScRsp()
		{
		}

		// Token: 0x060051DB RID: 20955 RVA: 0x000DE30C File Offset: 0x000DC50C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetKilledPunkLordMonsterDataScRsp(GetKilledPunkLordMonsterDataScRsp other) : this()
		{
			this.iEOBBBDMEMI_ = other.iEOBBBDMEMI_.Clone();
			this.retcode_ = other.retcode_;
			this.fCELEHKAACO_ = other.fCELEHKAACO_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060051DC RID: 20956 RVA: 0x000DE35E File Offset: 0x000DC55E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetKilledPunkLordMonsterDataScRsp Clone()
		{
			return new GetKilledPunkLordMonsterDataScRsp(this);
		}

		// Token: 0x17001751 RID: 5969
		// (get) Token: 0x060051DD RID: 20957 RVA: 0x000DE366 File Offset: 0x000DC566
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<PunkLordMonsterKey> IEOBBBDMEMI
		{
			get
			{
				return this.iEOBBBDMEMI_;
			}
		}

		// Token: 0x17001752 RID: 5970
		// (get) Token: 0x060051DE RID: 20958 RVA: 0x000DE36E File Offset: 0x000DC56E
		// (set) Token: 0x060051DF RID: 20959 RVA: 0x000DE376 File Offset: 0x000DC576
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001753 RID: 5971
		// (get) Token: 0x060051E0 RID: 20960 RVA: 0x000DE37F File Offset: 0x000DC57F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<KilledPunkLordMonsterInfo> FCELEHKAACO
		{
			get
			{
				return this.fCELEHKAACO_;
			}
		}

		// Token: 0x060051E1 RID: 20961 RVA: 0x000DE387 File Offset: 0x000DC587
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetKilledPunkLordMonsterDataScRsp);
		}

		// Token: 0x060051E2 RID: 20962 RVA: 0x000DE398 File Offset: 0x000DC598
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetKilledPunkLordMonsterDataScRsp other)
		{
			return other != null && (other == this || (this.iEOBBBDMEMI_.Equals(other.iEOBBBDMEMI_) && this.Retcode == other.Retcode && this.fCELEHKAACO_.Equals(other.fCELEHKAACO_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060051E3 RID: 20963 RVA: 0x000DE3FC File Offset: 0x000DC5FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.iEOBBBDMEMI_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.fCELEHKAACO_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060051E4 RID: 20964 RVA: 0x000DE457 File Offset: 0x000DC657
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060051E5 RID: 20965 RVA: 0x000DE45F File Offset: 0x000DC65F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060051E6 RID: 20966 RVA: 0x000DE468 File Offset: 0x000DC668
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.fCELEHKAACO_.WriteTo(ref output, GetKilledPunkLordMonsterDataScRsp._repeated_fCELEHKAACO_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			this.iEOBBBDMEMI_.WriteTo(ref output, GetKilledPunkLordMonsterDataScRsp._repeated_iEOBBBDMEMI_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060051E7 RID: 20967 RVA: 0x000DE4C8 File Offset: 0x000DC6C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.iEOBBBDMEMI_.CalculateSize(GetKilledPunkLordMonsterDataScRsp._repeated_iEOBBBDMEMI_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.fCELEHKAACO_.CalculateSize(GetKilledPunkLordMonsterDataScRsp._repeated_fCELEHKAACO_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060051E8 RID: 20968 RVA: 0x000DE52C File Offset: 0x000DC72C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetKilledPunkLordMonsterDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.iEOBBBDMEMI_.Add(other.iEOBBBDMEMI_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.fCELEHKAACO_.Add(other.fCELEHKAACO_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060051E9 RID: 20969 RVA: 0x000DE58A File Offset: 0x000DC78A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060051EA RID: 20970 RVA: 0x000DE594 File Offset: 0x000DC794
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 32U)
					{
						if (num != 106U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.iEOBBBDMEMI_.AddEntriesFrom(ref input, GetKilledPunkLordMonsterDataScRsp._repeated_iEOBBBDMEMI_codec);
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.fCELEHKAACO_.AddEntriesFrom(ref input, GetKilledPunkLordMonsterDataScRsp._repeated_fCELEHKAACO_codec);
				}
			}
		}

		// Token: 0x04002017 RID: 8215
		private static readonly MessageParser<GetKilledPunkLordMonsterDataScRsp> _parser = new MessageParser<GetKilledPunkLordMonsterDataScRsp>(() => new GetKilledPunkLordMonsterDataScRsp());

		// Token: 0x04002018 RID: 8216
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002019 RID: 8217
		public const int IEOBBBDMEMIFieldNumber = 13;

		// Token: 0x0400201A RID: 8218
		private static readonly FieldCodec<PunkLordMonsterKey> _repeated_iEOBBBDMEMI_codec = FieldCodec.ForMessage<PunkLordMonsterKey>(106U, PunkLordMonsterKey.Parser);

		// Token: 0x0400201B RID: 8219
		private readonly RepeatedField<PunkLordMonsterKey> iEOBBBDMEMI_ = new RepeatedField<PunkLordMonsterKey>();

		// Token: 0x0400201C RID: 8220
		public const int RetcodeFieldNumber = 4;

		// Token: 0x0400201D RID: 8221
		private uint retcode_;

		// Token: 0x0400201E RID: 8222
		public const int FCELEHKAACOFieldNumber = 3;

		// Token: 0x0400201F RID: 8223
		private static readonly FieldCodec<KilledPunkLordMonsterInfo> _repeated_fCELEHKAACO_codec = FieldCodec.ForMessage<KilledPunkLordMonsterInfo>(26U, KilledPunkLordMonsterInfo.Parser);

		// Token: 0x04002020 RID: 8224
		private readonly RepeatedField<KilledPunkLordMonsterInfo> fCELEHKAACO_ = new RepeatedField<KilledPunkLordMonsterInfo>();
	}
}
